package com.cloudRestudy.payment.feign;

import com.cloudRestudy.common.core.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @ClassName : RemotePaymentService
 * @Author : lby
 * @Date: 2021/7/21 17:16
 * @Description : payment远程调用
 */
@FeignClient(contextId ="remotePaymentService",value = "CLOUD-HYSTRIX")
public interface RemotePaymentService {


    /**
     * 用户列表
     * @return
     */
    @GetMapping("/payment/user/list")
    R getUserList();

}
